This function splits a DWord variable into 2 Word variables.
| LGF_SplitDWordToWords (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| DWord | doubleWord | Ret_Val | Void | |||||
| word1 | Word | |||||||
| word0 | Word | |||||||
| Identifier | Data type | Description |
|---|---|---|
| doubleWord | DWord | Bit sequence to be split |
| Identifier | Data type | Description |
|---|---|---|
| Ret_Val | Void | Void - Function has no return value |
| word1 | Word | Output Word 1 - MSW |
| word0 | Word | Output Word 0 - LSW |
| Version & Date | Change description | |
|---|---|---|
| 1.0.0 | Simatic Systems Support | |
| 20.06.2019 | First release | |
| 3.0.0 | Simatic Systems Support | |
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library | |
| 3.0.1 | Simatic Systems Support | |
| 22.02.2021 | Insert documentation | |